<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>

<p id="msg"></p>
   <html:form method="post" styleClass="control" action="/AddUser">


<div id="formadduser">
<fieldset>
  <label>
    <bean:message key="Adduser.label"/>
  </label><br />
  <label>
    <bean:message key="AdduserForm.user"/>
  </label>
  <table>
    <tr><td></td><td> <html:errors property="name" /></td></tr>
    <tr>
      <td>
        <label>
          <bean:message key="AdduserForm.name"/>
        </label></td>
        
      	<td>
      	<html:text styleClass="textfieldadmin" property="name" />
<!--         <input class="textfieldadmin" type="text" name="name" id="name" /> --> </td>
    </tr>
    <tr><td></td><td> <html:errors property="username" /></td></tr>
    <tr>
      <td>
        <label>
          Username
        </label></td>
      <td>
      <html:text styleClass="required" property="username" />
<!-- 	<input class="required"  type="text" name="username" id="username" minlength="5" />  -->
</td>
    </tr>
    <tr><td></td><td> <html:errors property="password" /></td></tr>
     <tr>
      <td>
        <label>
          Password
        </label></td>
      <td>
      <html:text styleClass="required" property="password" />
<!--         <input class="required" type="password" name="password" id="password" minlength="5" />  --> </td>
    </tr>
    <tr><td></td><td> <html:errors property="email" /></td></tr>
     <tr>
      <td>
        <label>
          Email
        </label></td>
      <td>
      <html:text styleClass="required" property="email" />
<!--         <input class="required email" type="text" name="email" id="email" />  -->  </td>
    </tr>
    <tr>
      <td>
   <!--    <input type="hidden" value="adduser" name="ajaxattempt" id="hiddenUser"/>  -->
   <html:submit styleClass="control" value="Add" />
   <!--  <input type="submit" value="Add" id="submitUser" class="control"/> -->
        </td>
      <td>
      </td>
    </tr>
    </table>
   </fieldset>
</div>
</html:form>
